<template>
  <div style="height: 50px;">
    <div class="hh">
      <van-tabbar v-model="active">
        <van-tabbar-item to="/home" icon="home-o">首页</van-tabbar-item>
        <van-tabbar-item to="/fen" icon="search">分类</van-tabbar-item>
        <van-tabbar-item to="/shop" icon="friends-o">购物车</van-tabbar-item>
        <van-tabbar-item to="/my" icon="setting-o">我的</van-tabbar-item>
      </van-tabbar>
    </div>
  </div>
</template>

<script setup>
import { ref } from "vue";
const active = ref(0);
</script>

<style lang="scss" scoped>
.hh{
  width: 100%;
  height: 50px;
}
</style>
